﻿using Nop.Admin.Models.Common;
using Nop.Core.Domain.Logistics;
using Nop.Core.Domain.Shipping;
using System;
using System.ComponentModel.DataAnnotations;

namespace Nop.Admin.Models.Logistics
{
    public partial class PackageLocationModel
    {
        public int LocationId { get; set; }

        public int AddressId { get; set; }
        public AddressModel Address { get; set; }

        public string AddressZone { get; set; }

        public DateTime? UpdatedOnUtc { get; set; }
        public DateTime? UpdatedOn { get; set; }
        public string UpdatedOnStr { get; set; }

        public DateTime? ReadyTime { get; set; }
        public string ReadyTimeStr { get; set; }

        [UIHint("DecimalNullable")]
        public decimal? Rank { get; set; }

        public LocationStatus LocationStatus { get; set; }
        public string Action { get; set; }

        public int PlanId { get; set; }
        public int CourierId { get; set; }

        public int PackageId { get; set; }
        public ShippingStatus ShippingStatus { get; set; }
        public string ShippingStatusStr { get; set; }

        public string Attribute { get; set; }
        public string Reference { get; set; }
        public string Type { get; set; }

        public string LatestPackageNoteContent { get; set; }
    }
}